Espressif Systems /ESP32-S3 /SPI0 /CACHE_SCTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CACHE_SCTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (CACHE_USR_SCMD_4BYTE)CACHE_USR_SCMD_4BYTE 0 (USR_SRAM_DIO)USR_SRAM_DIO 0 (USR_SRAM_QIO)USR_SRAM_QIO 0 (USR_WR_SRAM_DUMMY)USR_WR_SRAM_DUMMY 0 (USR_RD_SRAM_DUMMY)USR_RD_SRAM_DUMMY 0 (CACHE_SRAM_USR_RCMD)CACHE_SRAM_USR_RCMD 0SRAM_RDUMMY_CYCLELEN 0SRAM_ADDR_BITLEN 0 (CACHE_SRAM_USR_WCMD)CACHE_SRAM_USR_WCMD 0 (SRAM_OCT)SRAM_OCT 0SRAM_WDUMMY_CYCLELEN

Description

SPI0 external RAM control register

Fields

CACHE_USR_SCMD_4BYTE

Set this bit to enable SPI0 read Ext_RAM with 32 bits address. The value of SPI_MEM_SRAM_ADDR_BITLEN should be 31.

USR_SRAM_DIO

Set the bit to enable 2-bm in all the phases of SPI0 Ext_RAM transfer.

USR_SRAM_QIO

Set the bit to enable QPI mode in all SPI0 Ext_RAM transfer.

USR_WR_SRAM_DUMMY

When SPI0 accesses to Ext_RAM, set this bit to enable DUMMY phase in write operations.

USR_RD_SRAM_DUMMY

When SPI0 accesses to Ext_RAM, set this bit to enable DUMMY phase in read operations.

CACHE_SRAM_USR_RCMD

1: The command value of SPI0 read Ext_RAM is SPI_MEM_CACHE_SRAM_USR_WR_CMD_VALUE. 0: The value is 0x2.

SRAM_RDUMMY_CYCLELEN

When SPI0 accesses to Ext_RAM, it is the SPI_CLK cycles minus 1 of DUMMY phase in read data transfer.

SRAM_ADDR_BITLEN

When SPI0 accesses to Ext_RAM, it is the length in bits of ADDR phase. The register value shall be (bit_num-1).

CACHE_SRAM_USR_WCMD

1: The command value of SPI0 write Ext_RAM is SPI_MEM_CACHE_SRAM_USR_RD_CMD_VALUE. 0: The value is 0x3.

SRAM_OCT

Set the bit to enable OPI mode in all SPI0 Ext_RAM transfer.

SRAM_WDUMMY_CYCLELEN

When SPI0 accesses to Ext_RAM, it is the SPI_CLK cycles minus 1 of DUMMY phase in write data transfer.

Links

() ()